import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

const routes: Routes = [
  {
    path: "origin",
    loadChildren: "./origin/origin.module#OriginModule"
  }
  , {
    path: "demarcates",
    loadChildren: "./demarcates/demarcates.module#DemarcatesModule"
  }
  ,
  {
    path: "monitor",
    loadChildren: "./site-monitor/site-monitor.module#SiteMonitorModule"
  },
  {
    path: "sites",
    loadChildren: "./sites/sites.module#SitesModule"
  },
  {
    path: "categorys",
    loadChildren: "./categorys/categorys.module#CategorysModule"
  },
  {
    path: "original",
    loadChildren: "./original-data/original-data.module#OriginalDataModule"
  },
  {
    path: "device",
    loadChildren: "./device/device.module#DeviceModule"
  }

];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
  providers: []
})
export class MonitorRoutingModule { }
